package com.job.client.model.posts.vo;

import com.job.client.model.posts.pojo.Category;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
public class CategoryVo extends Category {
    private List<CategoryVo> children;

    public CategoryVo() {
        children=new ArrayList<>();
    }
}
